package com.ruoyi.sevenInterfaces.domain.vo;

import com.alibaba.fastjson2.annotation.JSONField;
import com.fasterxml.jackson.annotation.JsonFormat;
import com.fasterxml.jackson.annotation.JsonProperty;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.util.Date;
import java.util.List;

/**
 * @Description TODO
 * @Author wsl
 * @Date 2025-02-25 11:09
 * @Version 1.0
 */

@Data
public class EventTargetVO {

    private String eventId;

    private String eventName;

    private List<EventTargetInfo> eventTargetInfo;

    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date startTime;

    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date endTime;


    public class EventTargetInfo {
        private String id;
        @JsonProperty(value = "MBLX")
        private String targetType;
        @JsonProperty(value = "MBNR")
        private String targetContent;

        public String getId() {
            return id;
        }

        public void setId(String id) {
            this.id = id;
        }

        public String getTargetType() {
            return targetType;
        }

        public void setTargetType(String targetType) {
            this.targetType = targetType;
        }

        public String getTargetContent() {
            return targetContent;
        }

        public void setTargetContent(String targetContent) {
            this.targetContent = targetContent;
        }
    }

}
